package club.haomoon.boss.vo.article;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "装修文章数据Vo")
public class DecorateDataArticleVo implements Serializable {

    private static final long serialVersionUID = 1L;

   @Schema(title  = "主键")
    private Integer id;

   @Schema(title  = "分类")
    private String cateName;

   @Schema(title  = "标题")
    private String title;

   @Schema(title  = "图片")
    private String image;

   @Schema(title  = "作者")
    private String author;

   @Schema(title = "简介")
    @TableField(value = "`desc`")
    private String desc;

   @Schema(title = "摘要")
    @JsonProperty("abstract")
    private String abstractField;

   @Schema(title  = "访问")
    private Integer click;

   @Schema(title = "内容")
    private String content;

   @Schema(title  = "排序")
    private Integer sort;

   @Schema(title = "虚拟浏览量")
    private Integer clickVirtual;

   @Schema(title = "实际浏览量")
    private Integer clickActual;

   @Schema(title  = "是否显示")
    private Integer isShow;

   @Schema(title  = "创建时间")
    private String createTime;

}
